Skip to content

Conversation

@danbarr
Copy link
Collaborator

@danbarr danbarr commented Aug 26, 2025

Disables the MDX v1 compatibility options for comments and admonitions.

This requires the updated admonition title syntax using square brackets.

See https://docusaurus.io/docs/migration/v3#turn-off-mdx-v1-compat

Signed-off-by: Dan Barr [email protected]

Copilot AI review requested due to automatic review settings August 26, 2025 22:37
@vercel
Copy link

vercel bot commented Aug 26, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
docs-website Ready Ready Preview Comment Aug 26, 2025 10:37pm

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR updates the admonition title syntax across the documentation to use the new MDX v3 format with square brackets, while disabling MDX v1 compatibility options for comments and admonitions in Docusaurus configuration.

Key changes:

  • Disables MDX v1 compatibility for comments and admonitions in docusaurus.config.ts
  • Updates all admonition titles from the old syntax (e.g., :::info What is this?) to the new square bracket syntax (e.g., :::info[What is this?])
  • Updates documentation guidelines to reflect the new admonition syntax requirements

Reviewed Changes

Copilot reviewed 21 out of 21 changed files in this pull request and generated no comments.

Show a summary per file
File Description
docusaurus.config.ts Adds MDX v1 compatibility configuration to disable old comment and admonition syntax
docs/toolhive/tutorials/quickstart-ui.mdx Updates 4 info admonitions to use square bracket title syntax
docs/toolhive/tutorials/quickstart-k8s.mdx Updates 6 info admonitions and 1 tip admonition to use square bracket syntax
docs/toolhive/tutorials/quickstart-cli.mdx Updates 5 info admonitions to use square bracket title syntax
docs/toolhive/guides-ui/secrets-management.md Changes admonition type from important to warning (no title)
docs/toolhive/guides-ui/network-isolation.mdx Changes important admonition to info[Important] with title
docs/toolhive/guides-ui/install.mdx Changes important admonition to info[Important] with title
docs/toolhive/guides-ui/index.mdx Updates tip admonition to use square bracket title syntax
docs/toolhive/guides-k8s/run-mcp-k8s.md Updates 3 info admonitions to use square bracket syntax
docs/toolhive/guides-k8s/intro.md Updates experimental info admonition to use square bracket syntax
docs/toolhive/guides-cli/telemetry-and-metrics.md Updates tip admonition to use square bracket title syntax
docs/toolhive/guides-cli/secrets-management.mdx Updates tip admonition to use square bracket title syntax
docs/toolhive/guides-cli/run-mcp-servers.mdx Updates 3 info admonitions to use square bracket syntax
docs/toolhive/guides-cli/network-isolation.mdx Changes important admonition to info[Important] with title
docs/toolhive/guides-cli/index.mdx Updates tip admonition to use square bracket title syntax
docs/toolhive/guides-cli/group-management.md Updates 2 info admonitions to use square bracket syntax
docs/toolhive/guides-cli/custom-permissions.mdx Changes important admonition to info[Important] with title
docs/toolhive/guides-cli/build-containers.mdx Updates info admonition to use square bracket title syntax
docs/theme-preview.mdx Updates example admonitions and adds documentation about new syntax
CLAUDE.md Updates admonition syntax guidelines in coding instructions
.github/copilot-instructions.md Updates admonition syntax guidelines in GitHub Copilot instructions

@danbarr danbarr merged commit 8d45e0b into main Aug 27, 2025
5 checks passed
@danbarr danbarr deleted the update-admonition-syntax branch August 27, 2025 05:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants